//package com.example.ppjoke.basic;
//
//import android.os.Bundle;
//
//import androidx.annotation.Nullable;
//import androidx.appcompat.app.AppCompatActivity;
//import androidx.navigation.NavController;
//import androidx.navigation.fragment.NavHostFragment;
//import androidx.navigation.ui.NavigationUI;
//
//import com.example.ppjoke.R;
//import com.google.android.material.bottomnavigation.BottomNavigationView;
//
//public class BasicActivity extends AppCompatActivity {
//
//    private BottomNavigationView basic_bottom;
//    protected NavController navController;
//    private NavHostFragment navHostFragment;
//
//    @Override
//    protected void onCreate(@Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_main);
////        basic_bottom = findViewById(R.id.basic_bottom);
////        navHostFragment = (NavHostFragment) getSupportFragmentManager().findFragmentById(R.id.basic_host_fragment);
////        navController = navHostFragment.getNavController();
////        NavigationUI.setupWithNavController(basic_bottom,navController);
//        basic_bottom = findViewById(R.id.basic_bottom);
//        navHostFragment = (NavHostFragment) getSupportFragmentManager().findFragmentById(R.id.basic_host_fragment);
//        navController = navHostFragment.getNavController();
//        NavigationUI.setupWithNavController(basic_bottom,navController);
//    }
//}
